#define _CRT_SECURE_NO_DEPRECATE 1
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING 
#include "util.hpp"
#include "data.hpp"
#include "cloud.hpp"
#define BACKUP_FILE "./backup.dat"
#define BACKUP_DIR "./backup/"

void fileutilTest()
{
	cloud::FileUtil fu(BACKUP_DIR);
	std::vector<std::string> v;
	fu.ScanDirectory(&v);
	for (auto a : v)
	{
		std::cout << a << std::endl;
	}
}
int main()
{
	cloud::Backup backup(BACKUP_DIR, BACKUP_FILE);
	backup.RunMoudle();
	//fileutilTest();
	return 0;
}